<template>
  <div class="container">
    <div class="middle">
      <div class="order">
        <h1>软件续费</h1>
        <div class="box">
          <li>续费时间：{{ infoMation.time }}</li>
          <li>续费客服电话：400-656-9798</li>
          <li style="text-align: right">
            续费金额：<span>¥ {{ infoMation.money }}</span>
          </li>
          <img class="img" src="../../assets/order/order.jpg" alt="" />
          <li style="color: red; text-align: center; margin-top: 10px">
            扫码转账成功后请联系客服确认打款金额
          </li>
        </div>
        <!-- <div class="button">确认支付</div> -->
      </div>
    </div>
  </div>
</template>

<script>
import { getInfos } from "@/api/cost/index";
export default {
  data() {
    return {
      infoMation: {},
    };
  },
  created() {
    this.getcontent();
  },
  methods: {
    getcontent() {
      getInfos().then((res) => {
        if (res.errcode == 0) {
          this.infoMation = res.data;
        }
      });
    },
  },
};
</script>


<style lang="scss" scoped>
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  .middle {
    width: 550px;
    height: 400px;
    margin-top: 80px;
    .order {
      display: flex;
      align-items: center;
      flex-direction: column;
      .box {
        width: 100%;
        border: 1px solid #ccc;
        padding: 25px;
        margin: 45px 0;
        display: flex;
        flex-direction: column;
        border-radius: 8px;

        li {
          font-size: 20px;
          margin-bottom: 10px;
        }
        span {
          font-size: 36px;
          color: #ee7779;
          font-weight: 700;
        }

        .img {
          width: 60%;
          margin: 0 auto;
        }
      }
      .button {
        width: 160px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #4fa388;
        border-radius: 5px;
        font-weight: 400;
        font-size: 20px;
        color: #fff;
        line-height: 40px;
        letter-spacing: 5px;
        text-indent: 5px;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        box-shadow: inset 0 5px 5px -5px #fff, inset 0 -10px 10px -8px #111;
      }
    }
  }
}
</style>